package wzvtc.dbad.attend.entity;

import org.springframework.data.annotation.AccessType;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Column;
import org.springframework.data.relational.core.mapping.Table;

/**
 * 班级
 *
 */


@AccessType(AccessType.Type.PROPERTY)
@Table("T_CLAZZ")
public class Clazz {
    @Id
    private  long id;
    @Column("NAME")
    private String name;

    public Clazz(String name) {
        this.name = name;
    }

    public long getId() {
        return id;
    }

    public String getName() {
        return name;
    }
}
